package cn.pzhuWEB.llk.service.impl;

import cn.pzhuWEB.llk.dao.ICardDao;
import cn.pzhuWEB.llk.entity.Card;
import cn.pzhuWEB.llk.entity.ImagePath;
import cn.pzhuWEB.llk.service.CardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Map;


@Service
public class CardServiceImpl implements CardService {
    @Autowired
    @Qualifier("ICardDao")
    private ICardDao cardDao;


    @Override
    public ArrayList<Card> findFCardByClasses(String classes) {
        return cardDao.findFCardByClasses(classes);
    }

    @Override
    public ArrayList<Card> findAll() {
        return cardDao.findAll();
    }
}
